home *** CD-ROM | disk | FTP | other *** search
- function baa(num, pan)
- {
- eval("sheepfx" + num).setPan(pan);
- eval("sheepfx" + num).start();
- }
- function grr(pan)
- {
- dogfx.setPan(pan);
- dogfx.start();
- grrOK = 0;
- }
- hq = 1;
- sheepTotal = 6;
- boom = new Array(0,0,0,0,0,0,0);
- sheepRate = new Array(0,30,35,45,60,80,105);
- sheepBound = 15;
- dogAge = 15;
- dogRate = 150;
- i = 1;
- while(sheepTotal >= i)
- {
- duplicateMovieClip("sheep","sheep" + i,16384 + (i + 10));
- eval("sheep" + i)._x = 230 + random(90);
- eval("sheep" + i)._y = 150 + random(90);
- eval("sheep" + i).gotoAndPlay(1);
- fxnum = 1 + random(4);
- set("sheepfx" + i,new Sound("sheep" + i));
- eval("sheepfx" + i).attachSound("sheepfx" + fxnum);
- eval("sheepfx" + i).setVolume(40 + random(20));
- i++;
- }
- dogfx = new Sound("dog");
- dogfx.attachSound("dogfx");
- sheep._x = 10000;
- sheepPocket = 1;
- gameover = 0;
- nuke = 0;
- dogalive = 1;
- dog._x = 100;
- dog._y = 100;
- dog.gotoAndPlay(1);
- score = 2000;
- grrOK = 1;
- play();
-